﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ini_Config.CustomControl
{
    public class SelectableViewModel : ViewModelBase
    {
        private bool _isSelected;
        private string? _enName;
        private string? _chName;
        private TestType _testType;

        public bool IsSelected
        {
            get => _isSelected;
            set => SetProperty(ref _isSelected, value);
        }
        public string? EnName
        {
            get => _enName;
            set => SetProperty(ref _enName, value);
        }

        public string? ChName
        {
            get => _chName;
            set => SetProperty(ref _chName, value);
        }
      

        public TestType TestType
        {
            get => _testType;
            set => SetProperty(ref _testType, value);
        }
    }

    public enum TestType
    {
        范围值比较,
        相等比较,
        二次比较_地检类,
        二次比较_堵转类,
        二次比较_开关量,
        待定
    }
}
